﻿@model ElCharro01.Models.Category

@{
    ViewBag.Title = "AddCategory";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml"; 
}
<div class="prefix_1 grid_8 suffix_1 alpha" align="center">
<h2 align="center">Gestrione Categorie->Crea Categoria</h2>


@using (Html.BeginForm("SaveCategory", "Category"))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Category</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Nome)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Nome)
            @Html.ValidationMessageFor(model => model.Nome)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}
</div>